<%@page import="java.util.Date"%>
<%@ page language="java" import="java.sql.*,java.util.*"%>

<%
    String mensaje = ""; 
	mensaje ="Your IP address is " + request.getRemoteAddr();
	String userAgent = request.getHeader("user-agent");
	String browser = "unknown";
	//out.print("<br/>and your browser is ");
	if (userAgent != null) {
		if (userAgent.indexOf("MSIE") > -1) {
			browser = "MS Internet Explorer";
		} else if (userAgent.indexOf("Firefox") > -1) {
			browser = "Mozilla Firefox";
		}
	}
	
%>
<div id="foot">
<ul class="first">
	<li>&copy; <%
 	Date fecha = new Date();
 	out.println(fecha);
 %>
	</li>
	<li><a href="#"><% out.println(browser + "," + mensaje); %></a></li>
	<li><a href="rss.php?id=0">noticias rss</a></li>
	<li><a href="rss.php?id=1">foro rss</a></li>
	<li><a href="#">powered by me</a></li>
</ul>
</div>
